<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://202.28.92.21/WebService/MedtrakService/PatientDataService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/MedtrakService" />
  <xs:import schemaLocation="http://202.28.92.21/WebService/MedtrakService/PatientDataService.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="GetPatientDataByAN">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AN" nillable="true" type="xs:string" />
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q1:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDataByANResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDataByANResult" nillable="true" type="q2:MedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByHN">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="HN" nillable="true" type="xs:string" />
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q3:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByHNResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByHNResult" nillable="true" type="q4:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByPID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="PID" nillable="true" type="xs:string" />
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q5:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByPIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByPIDResult" nillable="true" type="q6:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByFirstName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q7:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByFirstNameResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByFirstNameResult" nillable="true" type="q8:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByCustom">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionSQL" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByCustomResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByCustomResult" nillable="true" type="q9:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByWard">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionSQL" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByWardResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByWardResult" nillable="true" type="q10:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByANs">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AN" nillable="true" type="q11:ArrayOfstring" />
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q12:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByANsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByANsResult" nillable="true" type="q13:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByHNs">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="HN" nillable="true" type="q14:ArrayOfstring" />
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q15:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByHNsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByHNsResult" nillable="true" type="q16:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByFields">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="searchPatient" nillable="true" type="xs:string" />
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q17:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByFieldsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByFieldsResult" nillable="true" type="q18:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOutPatientDatasByDate">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="searchDate" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOutPatientDatasByDateResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetOutPatientDatasByDateResult" nillable="true" type="q19:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByType">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="DataMode" type="q20:PatientDataMode" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByTypeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByTypeResult" nillable="true" type="q21:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByBetweenDischargeDate">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dateBegin" type="xs:dateTime" />
        <xs:element minOccurs="0" name="dateEnd" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByBetweenDischargeDateResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByBetweenDischargeDateResult" nillable="true" type="q22:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByBetweenAdmissionDate">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dateBegin" type="xs:dateTime" />
        <xs:element minOccurs="0" name="dateEnd" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientDatasByBetweenAdmissionDateResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/MedtrakService" minOccurs="0" name="GetPatientDatasByBetweenAdmissionDateResult" nillable="true" type="q23:ArrayOfMedtrakPatientData" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>